﻿
@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <title>登录页面</title>
    <!--pageoffic.js一定要引用-->
    <script type="text/javascript" src="/pageoffice.js"></script>
    <script type="text/javascript">
        function OpenFile() {
            var user = document.getElementById('userName').value;
            POBrowser.openWindow('Word?userName=' + user, 'width=1200px;height=800px;', user);
        }
    </script>

</head>
<body>
    <form id="form1" action="Word" method="post">
        <div style=" text-align:center;">
            <div>请选择登录用户：</div><br />
            <select name="userName" id="userName">
                <option selected="selected" value="zhangsan">甲客户：zhangsan</option>
                <option value="lisi">乙客：lisi</option>
            </select><br /><br />
            <input type="button" onclick="OpenFile();" value="打开文件" /><br /><br />
            <div style=" color:Red;">不同的用户登录后，在文档中可以编辑的区域不同</div>
        </div>
    </form>
</body>
</html>
